package cn.superchart.module.user.mapper;
import cn.superchart.module.user.entity.ScUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface ScUserMapper extends BaseMapper<ScUser> {


    ScUser loadUserByUsername(@Param("account") String account);

    List<String> loadPermByUserId(@Param("userId") String userId,@Param("isFounder") String isFounder);

    void unOrLock(@Param("userId") String userId, @Param("userStatus") String userStatus);
}
